#ifndef _AM_WAVE_H_
#define _AM_WAVE_H_

#include "../../embeddable/math/EmbeddableMath.h"
#include "../wave/Wave.h"


class AmWave 
{
	private:
		Wave carrierWave;
	public :
		AmWave(Wave& c){carrierWave = c;}
		AmWave(double A, double f, double p)
		{carrierWave = Wave(A,f,p);}

		double get(double value, unsigned long int time)
		{return (1 + value) * carrierWave.get(time);}
};


#endif
